// 注册
export const regApi = (data) => wx.http.post('/index/reg', data)
// 登录
export const loginApi = (data) => wx.http.post('/index/login', data)
// 获取个人资料
export const getUserInfoApi = () => wx.http.get('/user/getUserInfo')
// 修改个人资料
export const editUserInfoApi = data => wx.http.post('/user/update', data)
